Resource URL: /platform/<<version=3>>/protocols/ndmp/contexts/backup/<id>

    Overview: This resource applies to manage one NDMP backup context

     Methods: GET, DELETE

********************************************************************************

Method GET: View a NDMP backup context

       URL: GET /platform/<<version=3>>/protocols/ndmp/contexts/backup/<id>

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "description": "View a NDMP Context", 
  "properties": {
    "status": {
      "type": "string", 
      "description": "Whether the context is active."
    }, 
    "total_sessions": {
      "type": "integer", 
      "description": "The number of sessions in the context"
    }, 
    "sessions": {
      "type": "array", 
      "properties": {
        "status": {
          "type": "string", 
          "description": "The status of the session"
        }, 
        "bre_context_id": {
          "type": "string", 
          "description": "bre context id; This is not applicable to restore sessions."
        }, 
        "start_time": {
          "type": "time", 
          "description": "Session creation time"
        }, 
        "session_id": {
          "type": "string", 
          "description": "Session ID"
        }, 
        "stream_id": {
          "type": "string", 
          "description": "Stream ID"
        }
      }
    }, 
    "context_id": {
      "type": "string", 
      "description": "Context ID"
    }, 
    "start_time": {
      "type": "time", 
      "description": "Context creation time"
    }, 
    "context_expiration_time": {
      "type": "time", 
      "description": "Context expiration time"
    }, 
    "snapid": {
      "type": "integer", 
      "description": "Snapshot ID reserved for the context. This is not applicable to restore contexts."
    }, 
    "path": {
      "type": "string", 
      "description": "The directory of the backup. This is not applicable to restore contexts."
    }, 
    "type": {
      "type": "string", 
      "description": "Type of context; It can be bre, backup, and restore"
    }, 
    "id": {
      "type": "string", 
      "description": "Unique display id."
    }
  }
}

********************************************************************************

Method DELETE: Delete a backup context

          URL: DELETE
               /platform/<<version=3>>/protocols/ndmp/contexts/backup/<id>

There are no query arguments for this method.

There is no response body for this method.
